Class: Epom::Category
Class Method Summary
collapse
Methods inherited from EpomElement
generic_method, login, method_missing, params_validation, respond_to?
Class Method Details
.extended_methods ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/epom/category.rb', line 6
def self.extended_methods
{
:get_advertising_categories => {
:url => '/rest-api/categories/advertising.do',
:body_parameters => [:hash, :timestamp, :username],
:method => :get
},
:get_publishing_categories => {
:url => '/rest-api/categories/publishing.do',
:body_parameters => [:hash, :timestamp, :username],
:method => :get
},
}
end
|
.replace_params_in_url(url, url_params) ⇒ Object
21
22
23
|
# File 'lib/epom/category.rb', line 21
def self.replace_params_in_url(url, url_params)
url
end
|