Class: Application
- Inherits:
-
Object
- Object
- Application
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby.rb
Overview
——————————APPLICATIONS———————————–#
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#app_secret ⇒ Object
Returns the value of attribute app_secret.
-
#client_type ⇒ Object
Returns the value of attribute client_type.
-
#grant_type ⇒ Object
Returns the value of attribute grant_type.
-
#redirect_url ⇒ Object
Returns the value of attribute redirect_url.
Instance Method Summary collapse
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
314 315 316 |
# File 'lib/chino_ruby.rb', line 314 def app_id @app_id end |
#app_name ⇒ Object
Returns the value of attribute app_name.
314 315 316 |
# File 'lib/chino_ruby.rb', line 314 def app_name @app_name end |
#app_secret ⇒ Object
Returns the value of attribute app_secret.
314 315 316 |
# File 'lib/chino_ruby.rb', line 314 def app_secret @app_secret end |
#client_type ⇒ Object
Returns the value of attribute client_type.
314 315 316 |
# File 'lib/chino_ruby.rb', line 314 def client_type @client_type end |
#grant_type ⇒ Object
Returns the value of attribute grant_type.
314 315 316 |
# File 'lib/chino_ruby.rb', line 314 def grant_type @grant_type end |
#redirect_url ⇒ Object
Returns the value of attribute redirect_url.
314 315 316 |
# File 'lib/chino_ruby.rb', line 314 def redirect_url @redirect_url end |
Instance Method Details
#attributes ⇒ Object
322 323 324 |
# File 'lib/chino_ruby.rb', line 322 def attributes instance_values end |
#attributes=(hash) ⇒ Object
316 317 318 319 320 |
# File 'lib/chino_ruby.rb', line 316 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |