Method: GSimpleApi::Settings#initialize
- Defined in:
- lib/g_simple_api/settings.rb
#initialize(options = {}) ⇒ Settings
Returns a new instance of Settings.
21 22 23 24 25 26 27 28 29 |
# File 'lib/g_simple_api/settings.rb', line 21 def initialize( = {}) @api = [:api] @client_id = [:client_id] @client_secret = [:client_secret] @name = [:name] @api_version = [:api_version] @version = [:version] @scope = [].push([:scope]).flatten end |