Class: ChinoRuby::Application
- Inherits:
-
Object
- Object
- ChinoRuby::Application
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.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.
245 246 247 |
# File 'lib/chino_ruby/classes.rb', line 245 def app_id @app_id end |
#app_name ⇒ Object
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_secret ⇒ Object
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_type ⇒ Object
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_type ⇒ Object
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_url ⇒ Object
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
#attributes ⇒ Object
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 |