Class: Lokalise::Collections::ProjectLanguage

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby-lokalise-api/collections/project_language.rb

Constant Summary

Constants included from Request

Request::PAGINATION_HEADERS

Constants included from Lokalise::Connection

Lokalise::Connection::BASE_URL

Constants included from Utils::AttributeHelpers

Utils::AttributeHelpers::UNIFIED_RESOURCES

Instance Attribute Summary

Attributes inherited from Base

#branch, #client, #collection, #current_page, #path, #project_id, #request_params, #results_per_page, #team_id, #total_pages, #total_results, #user_id

Class Method Summary collapse

Methods inherited from Base

all, #first_page?, #initialize, #last_page?, #next_page, #next_page?, #prev_page, #prev_page?

Methods included from Request

#delete, #get, #patch, #post, #put

Methods included from JsonHandler

#custom_dump, #custom_load

Methods included from Lokalise::Connection

#connection

Methods included from Utils::AttributeHelpers

#attributes_for, #data_key_for, #id_key_for

Methods included from Utils::EndpointHelpers

#path_from

Constructor Details

This class inherits a constructor from Lokalise::Collections::Base

Class Method Details

.endpoint(project_id, *_args) ⇒ Object



7
8
9
# File 'lib/ruby-lokalise-api/collections/project_language.rb', line 7

def endpoint(project_id, *_args)
  path_from projects: [project_id, 'languages']
end