Module: NimbleApi
- Defined in:
- lib/nimble/base.rb,
lib/nimble/contact.rb,
lib/nimble/version.rb,
lib/nimble/contacts.rb
Defined Under Namespace
Classes: Base, Contact, Contacts
Constant Summary collapse
- VERSION =
"0.1"
Class Attribute Summary collapse
-
.api_version ⇒ Object
Returns the value of attribute api_version.
-
.callback_path ⇒ Object
Returns the value of attribute callback_path.
-
.client_id ⇒ Object
Returns the value of attribute client_id.
-
.client_secret ⇒ Object
Returns the value of attribute client_secret.
-
.conn ⇒ Object
Returns the value of attribute conn.
-
.host ⇒ Object
Returns the value of attribute host.
-
.refresh_token ⇒ Object
Returns the value of attribute refresh_token.
Class Method Summary collapse
- .configure {|_self| ... } ⇒ Object (also: config)
Class Attribute Details
.api_version ⇒ Object
Returns the value of attribute api_version.
81 82 83 |
# File 'lib/nimble/base.rb', line 81 def api_version @api_version end |
.callback_path ⇒ Object
Returns the value of attribute callback_path.
81 82 83 |
# File 'lib/nimble/base.rb', line 81 def callback_path @callback_path end |
.client_id ⇒ Object
Returns the value of attribute client_id.
81 82 83 |
# File 'lib/nimble/base.rb', line 81 def client_id @client_id end |
.client_secret ⇒ Object
Returns the value of attribute client_secret.
81 82 83 |
# File 'lib/nimble/base.rb', line 81 def client_secret @client_secret end |
.conn ⇒ Object
Returns the value of attribute conn.
81 82 83 |
# File 'lib/nimble/base.rb', line 81 def conn @conn end |
.host ⇒ Object
Returns the value of attribute host.
81 82 83 |
# File 'lib/nimble/base.rb', line 81 def host @host end |
.refresh_token ⇒ Object
Returns the value of attribute refresh_token.
81 82 83 |
# File 'lib/nimble/base.rb', line 81 def refresh_token @refresh_token end |
Class Method Details
.configure {|_self| ... } ⇒ Object Also known as: config
89 90 91 92 |
# File 'lib/nimble/base.rb', line 89 def configure yield self true end |