Project

shy_flag

0.0
No commit activity in last 3 years
No release in over 3 years
a temp solution for setting control flag
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0
~> 3.0

Runtime

 Project Readme

ShyFlag

Installation

Add this line to your application's Gemfile:

gem 'shy_flag', '~> 0.1.7'

And then execute:

$ bundle install

Usage

ShyFlag.get(aws_region,bucket_name,object_key,expir_time,credential)

aws_region, bucket_name, object_key, expir_time(eg: 3600 means 1 hour) are required

credential is optional (eg: {"access_key_id"=>"xxxxxxxxxxxxx","secret_access_key"=>"xxxxxxxxxxxxxxxxxxxxx"})

#Recommendation

flag storage as json in s3