Class: Fluxiom
Defined Under Namespace
Classes: Account, Asset, Assets, User, Users
Class Method Summary collapse
Instance Method Summary collapse
- #account ⇒ Object
- #assets ⇒ Object
-
#initialize(sub, u, p) ⇒ Fluxiom
constructor
A new instance of Fluxiom.
- #users ⇒ Object
Constructor Details
#initialize(sub, u, p) ⇒ Fluxiom
Returns a new instance of Fluxiom.
4 5 6 7 |
# File 'lib/fluxapi/base.rb', line 4 def initialize(sub, u, p) self.class.base_uri sub + '.fluxiom.com' self.class.basic_auth u, p end |
Class Method Details
.call(url) ⇒ Object
8 9 10 |
# File 'lib/fluxapi/base.rb', line 8 def self.call(url) get(url) end |