Ruby interface for the Lokalise APIv2 that represents returned data as Ruby objects.
View the Project on GitHub lokalise/ruby-lokalise-api
@client.teams(params = {}) # Input:
## params (hash)
### :page and :limit
# Output:
## Collection of teams
For example:
params = {
page: 3,
limit: 2
}
teams = @client.teams params
teams[0].plan # => 'Trial'
@client.team(team_id) # Input:
## team_id (String or Integer)
# Output:
## Team resource
For example:
team_id = 12345
team = @client.team team_id
team.name # => "My Team"