Class: Lokalise::Resources::QueuedProcess

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

Constant Summary collapse

DATA_KEY =
'Process'
ID_KEY =
'process'

Constants included from Lokalise::Request

Lokalise::Request::PAGINATION_HEADERS

Constants included from Connection

Connection::BASE_URL

Constants included from Utils::AttributeHelpers

Utils::AttributeHelpers::UNIFIED_RESOURCES

Instance Attribute Summary

Attributes inherited from Base

#branch, #client, #path, #project_id, #raw_data, #team_id, #user_id

Class Method Summary collapse

Methods inherited from Base

create, destroy, #extract_common_attributes_for, find, #id_from, #infer_path_from, inherited, #initialize, #path_with_id, #populate_attributes_for, supports, update

Methods included from Lokalise::Request

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

Methods included from JsonHandler

#custom_dump, #custom_load

Methods included from 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::Resources::Base

Class Method Details

.endpoint(project_id, process_id = nil) ⇒ Object



11
12
13
14
# File 'lib/ruby-lokalise-api/resources/queued_process.rb', line 11

def endpoint(project_id, process_id = nil)
  path_from projects: project_id,
            processes: process_id
end