Class: HipcallSdk::GreetingResource
- Defined in:
- lib/hipcall/resources/greetings.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from HipcallSdk::Resource
Instance Method Details
#list(**params) ⇒ Object
3 4 5 6 |
# File 'lib/hipcall/resources/greetings.rb', line 3 def list(**params) response = get_request("greetings", params: params) Collection.from_response(response, key: "data", type: Greeting) end |