Class: CirroIOV2::Resources::EpamHeroes::Badges
- Defined in:
- lib/cirro_io_v2/resources/epam_heroes/badges.rb
Constant Summary collapse
- ENDPOINT_PATH =
'epam_heroes/badges'.freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from CirroIOV2::Resources::Base
Instance Method Details
#create(params) ⇒ Object
7 8 9 10 |
# File 'lib/cirro_io_v2/resources/epam_heroes/badges.rb', line 7 def create(params) response = client.request_client.request(:post, ENDPOINT_PATH, body: params) Responses::EpamHeroesBadgeResponse.new(response.body) end |