Class: RubyLokaliseApi::Resources::TeamUserBillingDetails
- Defined in:
- lib/ruby_lokalise_api/resources/team_user_billing_details.rb
Constant Summary collapse
- MAIN_PARAMS =
%i[team_id].freeze
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
delegate_call, #destroy, #initialize, #reload_data
Methods included from Concerns::Unsupportable
Methods included from Concerns::AttrsLoadable
Methods included from Utils::Keys
#collection_key_for, #data_key_for
Methods included from Concerns::HashAccessible
Constructor Details
This class inherits a constructor from RubyLokaliseApi::Resources::Base
Instance Method Details
#update(params) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/ruby_lokalise_api/resources/team_user_billing_details.rb', line 9 def update(params) response = reinit_endpoint(params).do_put # We must patch content because the API does not return team_id and it's mandatory to build resource URL response.patch_content_with 'team_id', @team_id self.class.new response end |