module PlentyClient::Market::Credentials
Constants
- CREATE_MARKET_CREDENTIALS
- DELETE_MARKET_CREDENTIALS
- FIND_MARKET_CREDENTIALS
- LIST_MARKET_CREDENTIALS
- UPDATE_MARKET_CREDENTIALS
Public Class Methods
create(body = {})
click to toggle source
# File lib/plenty_client/market/credentials.rb, line 24 def create(body = {}) post(build_endpoint(CREATE_MARKET_CREDENTIALS), body) end
destroy(credentials_id, body = {})
click to toggle source
# File lib/plenty_client/market/credentials.rb, line 32 def destroy(credentials_id, body = {}) delete(build_endpoint(DELETE_MARKET_CREDENTIALS, credentials: credentials_id), body) end
find(credentials_id, headers = {}, &block)
click to toggle source
# File lib/plenty_client/market/credentials.rb, line 20 def find(credentials_id, headers = {}, &block) get(build_endpoint(FIND_MARKET_CREDENTIALS, credentials: credentials_id), headers, &block) end
list(headers = {}, &block)
click to toggle source
# File lib/plenty_client/market/credentials.rb, line 16 def list(headers = {}, &block) get(build_endpoint(LIST_MARKET_CREDENTIALS), headers, &block) end
update(credentials_id, body = {})
click to toggle source
# File lib/plenty_client/market/credentials.rb, line 28 def update(credentials_id, body = {}) put(build_endpoint(UPDATE_MARKET_CREDENTIALS, credentials: credentials_id), body) end