Class: Application

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#app_idObject

Returns the value of attribute app_id.



314
315
316
# File 'lib/chino_ruby.rb', line 314

def app_id
  @app_id
end

#app_nameObject

Returns the value of attribute app_name.



314
315
316
# File 'lib/chino_ruby.rb', line 314

def app_name
  @app_name
end

#app_secretObject

Returns the value of attribute app_secret.



314
315
316
# File 'lib/chino_ruby.rb', line 314

def app_secret
  @app_secret
end

#client_typeObject

Returns the value of attribute client_type.



314
315
316
# File 'lib/chino_ruby.rb', line 314

def client_type
  @client_type
end

#grant_typeObject

Returns the value of attribute grant_type.



314
315
316
# File 'lib/chino_ruby.rb', line 314

def grant_type
  @grant_type
end

#redirect_urlObject

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

#attributesObject



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