Class: Yookassa::Resources::Settings
- Defined in:
- lib/yookassa/resources/settings.rb
Overview
REST resource for the +/v3/me+ endpoint (shop settings).
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#retrieve ⇒ Entities::Base
Retrieves the current shop settings and account info.
Methods inherited from Base
#create, entity_class, #find, #initialize, #list, resource_path
Constructor Details
This class inherits a constructor from Yookassa::Resources::Base
Instance Method Details
#retrieve ⇒ Entities::Base
Retrieves the current shop settings and account info.
13 14 15 16 |
# File 'lib/yookassa/resources/settings.rb', line 13 def retrieve data = request(:get, "me") Entities::Base.new(data) end |