Class: Kagi::API::Configuration::Content
- Inherits:
-
Struct
- Object
- Struct
- Kagi::API::Configuration::Content
- Defined in:
- lib/kagi/api/configuration/content.rb
Overview
Defines customizable API configuration content.
Instance Attribute Summary collapse
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#token ⇒ Object
Returns the value of attribute token.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
Instance Attribute Details
#content_type ⇒ Object
Returns the value of attribute content_type
9 10 11 |
# File 'lib/kagi/api/configuration/content.rb', line 9 def content_type @content_type end |
#token ⇒ Object
Returns the value of attribute token
9 10 11 |
# File 'lib/kagi/api/configuration/content.rb', line 9 def token @token end |
#uri ⇒ Object
Returns the value of attribute uri
9 10 11 |
# File 'lib/kagi/api/configuration/content.rb', line 9 def uri @uri end |
Instance Method Details
#headers ⇒ Object
12 |
# File 'lib/kagi/api/configuration/content.rb', line 12 def headers = {"Content-Type" => content_type}.compact |