Module: Teamleader
- Extended by:
- Teamleader
- Included in:
- Teamleader
- Defined in:
- lib/teamleader.rb,
lib/teamleader/api.rb,
lib/teamleader/version.rb,
lib/teamleader/api/calls.rb,
lib/teamleader/api/files.rb,
lib/teamleader/api/projects.rb,
lib/teamleader/extended_api.rb,
lib/teamleader/api/custom_fields.rb
Defined Under Namespace
Modules: Calls, CustomFields, Files, Projects Classes: Api, ExtendedApi
Constant Summary collapse
- API_BASE_URL =
"https://app.teamleader.eu/api"- VERSION =
"0.16.0"
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
Instance Method Summary collapse
- #configure {|configuration| ... } ⇒ Object
- #new(group = Teamleader.configuration.api_group, secret = Teamleader.configuration.api_secret) ⇒ Object
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration.
13 14 15 |
# File 'lib/teamleader.rb', line 13 def configuration @configuration end |
Instance Method Details
#configure {|configuration| ... } ⇒ Object
19 20 21 |
# File 'lib/teamleader.rb', line 19 def configure yield(configuration) end |
#new(group = Teamleader.configuration.api_group, secret = Teamleader.configuration.api_secret) ⇒ Object
23 24 25 |
# File 'lib/teamleader.rb', line 23 def new(group = Teamleader.configuration.api_group, secret = Teamleader.configuration.api_secret) ExtendedApi.new(group, secret) end |