Class: Kentaa::Api::Resources::Sites

Inherits:
Base
  • Object
show all
Defined in:
lib/kentaa/api/resources/sites.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #endpoint_path, #options, #resource_class

Instance Method Summary collapse

Methods inherited from Base

attribute_key, #initialize, #load, #loaded?

Constructor Details

This class inherits a constructor from Kentaa::Api::Resources::Base

Instance Method Details

#current(options = {}) ⇒ Object



7
8
9
10
# File 'lib/kentaa/api/resources/sites.rb', line 7

def current(options = {})
  site = Kentaa::Api::Resources::Site.new(config, options: options)
  site.load
end