Class: RubyLokaliseApi::Endpoints::MainEndpoint
- Inherits:
-
BaseEndpoint
- Object
- BaseEndpoint
- RubyLokaliseApi::Endpoints::MainEndpoint
- Defined in:
- lib/ruby_lokalise_api/endpoints/main_endpoint.rb
Direct Known Subclasses
BranchesEndpoint, ContributorsEndpoint, CustomTranslationStatusesEndpoint, FilesEndpoint, JwtsEndpoint, KeyCommentsEndpoint, KeysEndpoint, OrdersEndpoint, PaymentCardsEndpoint, PermissionTemplatesEndpoint, ProjectCommentsEndpoint, ProjectLanguagesEndpoint, ProjectsEndpoint, QueuedProcessesEndpoint, ScreenshotsEndpoint, SegmentsEndpoint, SnapshotsEndpoint, SystemLanguagesEndpoint, TasksEndpoint, TeamUserBillingDetailsEndpoint, TeamUserGroupsEndpoint, TeamUsersEndpoint, TeamsEndpoint, TranslationProvidersEndpoint, TranslationsEndpoint, WebhooksEndpoint
Constant Summary collapse
- BASE_URL =
'https://api.lokalise.com/api2'
Constants inherited from BaseEndpoint
BaseEndpoint::HTTP_METHODS, BaseEndpoint::PARTIAL_URI_TEMPLATE
Instance Attribute Summary
Attributes inherited from BaseEndpoint
Instance Method Summary collapse
-
#initialize(client, params = {}) ⇒ MainEndpoint
constructor
A new instance of MainEndpoint.
Methods inherited from BaseEndpoint
#base_url, #full_uri, #reinitialize
Methods included from Request
#delete, #get, #patch, #post, #put
Methods included from Connection
Methods included from JsonHandler
Constructor Details
#initialize(client, params = {}) ⇒ MainEndpoint
Returns a new instance of MainEndpoint.
8 9 10 11 12 |
# File 'lib/ruby_lokalise_api/endpoints/main_endpoint.rb', line 8 def initialize(client, params = {}) super @uri = partial_uri(base_query(*@query_params)) end |