Lokalise APIv2 Ruby SDK

Ruby interface for the Lokalise APIv2 that represents returned data as Ruby objects.

View the Project on GitHub lokalise/ruby-lokalise-api




Team user billing details

Team user billing details attributes

Fetch team user billing details

Doc

@client.team_user_billing_details(team_id)  # Input:
                                            ## team_id (string or integer, required)
                                            # Output:
                                            ## Billing details resource

For example:

@client.team_user_billing_details '1234'

Create team user billing details

Doc

@client.create_team_user_billing_details(team_id, params)   # Input:
                                                            ## team_id (string or integer, required)
                                                            ## params (hash, required):
                                                            ### :billing_email (string, required)
                                                            ### :country_code (string, required)
                                                            ### :zip (string, required)
                                                            ### :state_code (string)
                                                            ### :address1 (string)
                                                            ### :address2 (string)
                                                            ### :city (string)
                                                            ### :phone (string)
                                                            ### :company (string)
                                                            ### :vatnumber (string)
                                                            # Output:
                                                            ## Billing details resource

For example:

@client.create_team_user_billing_details 12345, billing_email: 'ruby@example.com',
                                                country_code: 'LV',
                                                zip: 'LV-1111'

Update team user billing details

Doc

@client.update_team_user_billing_details(team_id, params)   # Input:
                                                            ## team_id (string or integer, required)
                                                            ## params (hash, required):
                                                            ### :billing_email (string, required)
                                                            ### :country_code (string, required)
                                                            ### :zip (string, required)
                                                            ### :state_code (string)
                                                            ### :address1 (string)
                                                            ### :address2 (string)
                                                            ### :city (string)
                                                            ### :phone (string)
                                                            ### :company (string)
                                                            ### :vatnumber (string)
                                                            # Output:
                                                            ## Billing details resource

For example:

@client.update_team_user_billing_details 12345, billing_email: 'ruby_rspec@example.com',
                                                country_code: 'LV',
                                                zip: 'LV-1111',
                                                address1: 'Addr line 1',
                                                city: 'Riga'