Class: Cut::Client
- Inherits:
-
Object
- Object
- Cut::Client
- Defined in:
- lib/cut/client.rb
Class Method Summary collapse
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(endpoint) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(endpoint) ⇒ Client
Returns a new instance of Client.
8 9 10 |
# File 'lib/cut/client.rb', line 8 def initialize(endpoint) @endpoint = endpoint end |
Class Method Details
.get(endpoint) ⇒ Object
4 5 6 |
# File 'lib/cut/client.rb', line 4 def self.get(endpoint) new(endpoint).get end |