Module: Fleetly

Defined in:
lib/fleetly.rb,
lib/fleetly/user.rb,
lib/fleetly/client.rb,
lib/fleetly/logitem.rb,
lib/fleetly/request.rb,
lib/fleetly/version.rb,
lib/fleetly/activity.rb

Defined Under Namespace

Modules: Activity, Logitem, Request, User Classes: Client

Constant Summary collapse

VERSION =
"0.0.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_urlObject

Returns the value of attribute api_url.



11
12
13
# File 'lib/fleetly.rb', line 11

def api_url
  @api_url
end

.tokenObject

Returns the value of attribute token.



11
12
13
# File 'lib/fleetly.rb', line 11

def token
  @token
end

Class Method Details

.configure {|Fleetly| ... } ⇒ Object

Configure default

Yields:



17
18
19
20
21
# File 'lib/fleetly.rb', line 17

def configure
  load_defaults
  yield self
  true
end