Class: Awful::ApiGateway::Methods
- Defined in:
- lib/awful/api_gateway_methods.rb
Instance Method Summary collapse
Methods inherited from Cli
Constructor Details
This class inherits a constructor from Awful::Cli
Instance Method Details
#dump(id, resource) ⇒ Object
13 14 15 16 17 |
# File 'lib/awful/api_gateway_methods.rb', line 13 def dump(id, resource) api_gateway.get_method(rest_api_id: id, resource_id: resource, http_method: [:method]).output do |response| puts YAML.dump(stringify_keys(response.to_hash)) end end |