Class: Cased::Clients
- Inherits:
-
Object
- Object
- Cased::Clients
- Defined in:
- lib/cased/clients.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#cli ⇒ Object
21 22 23 |
# File 'lib/cased/clients.rb', line 21 def cli @cli ||= self.class.create(api_key: Cased.config.guard_application_key) end |
#organization ⇒ Object
13 14 15 |
# File 'lib/cased/clients.rb', line 13 def organization @organization ||= self.class.create(api_key: ENV.fetch('CASED_ORGANIZATION_KEY')) end |
#publish ⇒ Object
17 18 19 |
# File 'lib/cased/clients.rb', line 17 def publish @publish ||= self.class.create(url: Cased.config.publish_url, api_key: Cased.config.publish_key, raise_on_errors: true) end |