Class: Imagekitio::Resources::Accounts
- Inherits:
-
Object
- Object
- Imagekitio::Resources::Accounts
- Defined in:
- lib/imagekitio/resources/accounts.rb,
lib/imagekitio/resources/accounts/usage.rb,
lib/imagekitio/resources/accounts/origins.rb,
lib/imagekitio/resources/accounts/url_endpoints.rb
Defined Under Namespace
Classes: Origins, URLEndpoints, Usage
Instance Attribute Summary collapse
- #origins ⇒ Imagekitio::Resources::Accounts::Origins readonly
- #url_endpoints ⇒ Imagekitio::Resources::Accounts::URLEndpoints readonly
- #usage ⇒ Imagekitio::Resources::Accounts::Usage readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ Accounts
constructor
private
A new instance of Accounts.
Constructor Details
#initialize(client:) ⇒ Accounts
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Accounts.
18 19 20 21 22 23 |
# File 'lib/imagekitio/resources/accounts.rb', line 18 def initialize(client:) @client = client @usage = Imagekitio::Resources::Accounts::Usage.new(client: client) @origins = Imagekitio::Resources::Accounts::Origins.new(client: client) @url_endpoints = Imagekitio::Resources::Accounts::URLEndpoints.new(client: client) end |
Instance Attribute Details
#origins ⇒ Imagekitio::Resources::Accounts::Origins (readonly)
10 11 12 |
# File 'lib/imagekitio/resources/accounts.rb', line 10 def origins @origins end |
#url_endpoints ⇒ Imagekitio::Resources::Accounts::URLEndpoints (readonly)
13 14 15 |
# File 'lib/imagekitio/resources/accounts.rb', line 13 def url_endpoints @url_endpoints end |
#usage ⇒ Imagekitio::Resources::Accounts::Usage (readonly)
7 8 9 |
# File 'lib/imagekitio/resources/accounts.rb', line 7 def usage @usage end |