Sha256: 39d5f9f140799fced8f1e39c2d40495f26c96039d20de50875669fa29c50f748

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

# frozen_string_literal: true

module RubyLokaliseApi
  module Rest
    module TeamUserBillingDetails
      # Returns team user billing details
      #
      # @see https://app.lokalise.com/api2docs/curl/#transition-retrieve-team-user-billing-details-get
      # @return [RubyLokaliseApi::Resources::TeamUserBillingDetails]
      # @param team_id [String]
      def team_user_billing_details(team_id)
        c_r RubyLokaliseApi::Resources::TeamUserBillingDetails, :find, team_id
      end

      # Creates team user billing details
      #
      # @see https://app.lokalise.com/api2docs/curl/#transition-create-team-user-billing-details-post
      # @return [RubyLokaliseApi::Resources::TeamUserBillingDetails]
      # @param team_id [String]
      # @param params [Hash]
      def create_team_user_billing_details(team_id, params)
        c_r RubyLokaliseApi::Resources::TeamUserBillingDetails, :create, team_id, params
      end

      # Updates team user billing details
      #
      # @see https://app.lokalise.com/api2docs/curl/#transition-create-team-user-billing-details-post
      # @return [RubyLokaliseApi::Resources::TeamUserBillingDetails]
      # @param team_id [String]
      # @param params [Hash]
      def update_team_user_billing_details(team_id, params)
        c_r RubyLokaliseApi::Resources::TeamUserBillingDetails, :update, team_id, params
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-lokalise-api-6.0.0 lib/ruby_lokalise_api/rest/team_user_billing_details.rb