module AmendiaRemote
Constants
- VERSION
Public Class Methods
common_user_api_token()
click to toggle source
# File lib/amendia_remote.rb, line 22 def self.common_user_api_token Api.get_common_user_api_token end
config()
click to toggle source
# File lib/amendia_remote.rb, line 6 def self.config @config ||= Config.new end
configure() { |config| ... }
click to toggle source
# File lib/amendia_remote.rb, line 10 def self.configure yield config end
course(id, api_token)
click to toggle source
# File lib/amendia_remote.rb, line 42 def self.course(id, api_token) Api.get_course(id, api_token) end
instrument(id, api_token)
click to toggle source
# File lib/amendia_remote.rb, line 38 def self.instrument(id, api_token) Api.get_instrument(id, api_token) end
product(id, api_token)
click to toggle source
# File lib/amendia_remote.rb, line 26 def self.product(id, api_token) Api.get_product(id, api_token) end
product_cat(id, api_token)
click to toggle source
# File lib/amendia_remote.rb, line 34 def self.product_cat(id, api_token) Api.get_product_cat(id, api_token) end
products(category_id, api_token)
click to toggle source
# File lib/amendia_remote.rb, line 30 def self.products(category_id, api_token) Api.get_products(category_id, api_token) end
registration(email, password, api_role, first_name=nil, last_name=nil, phone=nil, recommender=nil)
click to toggle source
# File lib/amendia_remote.rb, line 18 def self.registration(email, password, api_role, first_name=nil, last_name=nil, phone=nil, recommender=nil) Api.registration(email, password, api_role, first_name, last_name, phone, recommender) end