Module: ApiAuth::Client::Base::ClassMethods
- Defined in:
- lib/api_auth/client/base.rb
Instance Attribute Summary collapse
-
#attr_app_id ⇒ Object
readonly
Returns the value of attribute attr_app_id.
-
#attr_secret_key ⇒ Object
readonly
Returns the value of attribute attr_secret_key.
-
#attr_url ⇒ Object
readonly
Returns the value of attribute attr_url.
Instance Method Summary collapse
Instance Attribute Details
#attr_app_id ⇒ Object (readonly)
Returns the value of attribute attr_app_id.
13 14 15 |
# File 'lib/api_auth/client/base.rb', line 13 def attr_app_id @attr_app_id end |
#attr_secret_key ⇒ Object (readonly)
Returns the value of attribute attr_secret_key.
13 14 15 |
# File 'lib/api_auth/client/base.rb', line 13 def attr_secret_key @attr_secret_key end |
#attr_url ⇒ Object (readonly)
Returns the value of attribute attr_url.
13 14 15 |
# File 'lib/api_auth/client/base.rb', line 13 def attr_url @attr_url end |
Instance Method Details
#connect(url:, app_id: nil, secret_key: nil) ⇒ Object
15 16 17 18 19 |
# File 'lib/api_auth/client/base.rb', line 15 def connect(url:, app_id: nil, secret_key: nil) @attr_url = url @attr_app_id = app_id @attr_secret_key = secret_key end |