Module: Rubyflare
- Defined in:
- lib/rubyflare.rb,
lib/rubyflare/connect.rb,
lib/rubyflare/version.rb,
lib/rubyflare/response.rb
Defined Under Namespace
Classes: Connect, ConnectionError, Response
Constant Summary
collapse
- VERSION =
"0.2.1"
Class Method Summary
collapse
Class Method Details
.connect_with(email, api_key) ⇒ Object
17
18
19
|
# File 'lib/rubyflare.rb', line 17
def self.connect_with(email, api_key)
Rubyflare::Connect.new(email: email, api_key: api_key)
end
|
.connect_with_token(api_token) ⇒ Object
21
22
23
|
# File 'lib/rubyflare.rb', line 21
def self.connect_with_token(api_token)
Rubyflare::Connect.new(api_token: api_token)
end
|