Class: ChinoRuby::Application

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Serializers::JSON
Defined in:
lib/chino_ruby/classes.rb

Overview

——————————APPLICATIONS———————————–#

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#app_idObject

Returns the value of attribute app_id.



245
246
247
# File 'lib/chino_ruby/classes.rb', line 245

def app_id
  @app_id
end

#app_nameObject

Returns the value of attribute app_name.



245
246
247
# File 'lib/chino_ruby/classes.rb', line 245

def app_name
  @app_name
end

#app_secretObject

Returns the value of attribute app_secret.



245
246
247
# File 'lib/chino_ruby/classes.rb', line 245

def app_secret
  @app_secret
end

#client_typeObject

Returns the value of attribute client_type.



245
246
247
# File 'lib/chino_ruby/classes.rb', line 245

def client_type
  @client_type
end

#grant_typeObject

Returns the value of attribute grant_type.



245
246
247
# File 'lib/chino_ruby/classes.rb', line 245

def grant_type
  @grant_type
end

#redirect_urlObject

Returns the value of attribute redirect_url.



245
246
247
# File 'lib/chino_ruby/classes.rb', line 245

def redirect_url
  @redirect_url
end

Instance Method Details

#attributesObject



253
254
255
# File 'lib/chino_ruby/classes.rb', line 253

def attributes
  instance_values
end

#attributes=(hash) ⇒ Object



247
248
249
250
251
# File 'lib/chino_ruby/classes.rb', line 247

def attributes=(hash)
  hash.each do |key, value|
    send("#{key}=", value)
  end
end