Module: Top4R::LoggedInUserMixin::InstanceMethods
- Defined in:
- lib/top4r/model/user.rb
Instance Method Summary collapse
- #cats(options = {}) ⇒ Object
- #search_items(q = nil, options = {}) ⇒ Object
- #shop(options = {}) ⇒ Object
- #suites(service_code, options = {}) ⇒ Object
- #trades(method = :bought_list, options = {}) ⇒ Object
Instance Method Details
#cats(options = {}) ⇒ Object
17 18 19 |
# File 'lib/top4r/model/user.rb', line 17 def cats( = {}) @client.seller_cats(self.nick, :cats_list, ) end |
#search_items(q = nil, options = {}) ⇒ Object
13 14 15 |
# File 'lib/top4r/model/user.rb', line 13 def search_items(q = nil, = {}) @client.items_onsale(q, :onsale_list, ) end |
#shop(options = {}) ⇒ Object
21 22 23 |
# File 'lib/top4r/model/user.rb', line 21 def shop( = {}) @client.shop(self.nick, :shop_info, ) end |
#suites(service_code, options = {}) ⇒ Object
9 10 11 |
# File 'lib/top4r/model/user.rb', line 9 def suites(service_code, = {}) @client.suites(self.nick, service_code, :list, ) end |
#trades(method = :bought_list, options = {}) ⇒ Object
5 6 7 |
# File 'lib/top4r/model/user.rb', line 5 def trades(method = :bought_list, = {}) @client.trades_for(method, ) end |