Class: AhoSdk::Unauthenticated
- Inherits:
-
Object
- Object
- AhoSdk::Unauthenticated
- Defined in:
- lib/aho_sdk/unauthenticated.rb
Overview
Public endpoints (no authentication required)
Defined Under Namespace
Classes: SchemasResource
Instance Attribute Summary collapse
- #schemas ⇒ SchemasResource readonly
Instance Method Summary collapse
-
#initialize(base_url: "https://api.aho.com", timeout: 30, logger: nil) ⇒ Unauthenticated
constructor
A new instance of Unauthenticated.
Constructor Details
#initialize(base_url: "https://api.aho.com", timeout: 30, logger: nil) ⇒ Unauthenticated
Returns a new instance of Unauthenticated.
20 21 22 23 |
# File 'lib/aho_sdk/unauthenticated.rb', line 20 def initialize(base_url: "https://api.aho.com", timeout: 30, logger: nil) @client = HttpClient.new(api_key: nil, base_url: base_url, timeout: timeout, logger: logger) @schemas = SchemasResource.new(@client) end |
Instance Attribute Details
#schemas ⇒ SchemasResource (readonly)
26 27 28 |
# File 'lib/aho_sdk/unauthenticated.rb', line 26 def schemas @schemas end |