Class: Etsy4r::FeedbackCommands

Inherits:
Commands
  • Object
show all
Defined in:
lib/etsy4r/feedback_commands.rb

Instance Attribute Summary

Attributes inherited from Commands

#client

Instance Method Summary collapse

Methods inherited from Commands

#initialize

Constructor Details

This class inherits a constructor from Etsy4r::Commands

Instance Method Details

#get_feedback(feedback_id) ⇒ Object



4
5
6
# File 'lib/etsy4r/feedback_commands.rb', line 4

def get_feedback(feedback_id)
  @client.process("/feedback/#{feedback_id}")
end

#get_feedback_as_buyer(user_id, optional_params = {}) ⇒ Object



12
13
14
# File 'lib/etsy4r/feedback_commands.rb', line 12

def get_feedback_as_buyer(user_id, optional_params = {})
  @client.process("/users/#{user_id}/feedback/buyer", optional_params)
end

#get_feedback_as_seller(user_id, optional_params = {}) ⇒ Object



20
21
22
# File 'lib/etsy4r/feedback_commands.rb', line 20

def get_feedback_as_seller(user_id, optional_params = {})
  @client.process("/users/#{user_id}/feedback/seller", optional_params)
end

#get_feedback_for_others(user_id, optional_params = {}) ⇒ Object



16
17
18
# File 'lib/etsy4r/feedback_commands.rb', line 16

def get_feedback_for_others(user_id, optional_params = {})
  @client.process("/users/#{user_id}/feedback/others", optional_params)
end

#get_feedback_for_user(user_id, optional_params = {}) ⇒ Object



8
9
10
# File 'lib/etsy4r/feedback_commands.rb', line 8

def get_feedback_for_user(user_id, optional_params = {})
  @client.process("/users/#{user_id}/feedback", optional_params)
end