Class: Jirafe::Resource::Sites::Translations

Inherits:
JirafeResource show all
Defined in:
lib/jirafe/resource/sites/translations.rb

Class Method Summary collapse

Methods inherited from JirafeResource

create, #identifier, list, parent, #parent, #parent=, parent_path, #parent_resource_url, path, resource_url, #resource_url, retrieve, update

Methods included from Model

#attributes, #attributes_for_change, #create, included, #initialize, #reinitialize, #update

Methods included from Jirafe::ResponseParser

included

Class Method Details

.locale(application_id, locale = "en") ⇒ Object



12
13
14
# File 'lib/jirafe/resource/sites/translations.rb', line 12

def self.locale(application_id, locale = "en")
  retrieve(nil, application_id, {:locale => locale})
end