Module: Croesus::ClassMethods
- Defined in:
- lib/croesus/web_client/web_client.rb
Overview
Class level methods to let you configure your api client.
Instance Method Summary collapse
-
#endpoint(value = nil) ⇒ Object
When present, lets you specify the api for the given client.
Instance Method Details
#endpoint(value = nil) ⇒ Object
When present, lets you specify the api for the given client.
149 150 151 |
# File 'lib/croesus/web_client/web_client.rb', line 149 def endpoint(value = nil) define_method(:endpoint) { value } end |