Module: RubyStackoverflow::Client::BadgesHelper
- Included in:
- RubyStackoverflow::Client
- Defined in:
- lib/ruby-stackoverflow/client/badges_helper.rb
Instance Method Summary collapse
- #badges(options = {}) ⇒ Object
- #badges_between_dates(options = {}) ⇒ Object
- #badges_between_dates_by_ids(ids, options = {}) ⇒ Object
- #badges_by_ids(ids, options = {}) ⇒ Object
- #badges_by_name(options = {}) ⇒ Object
- #badges_by_tags(options = {}) ⇒ Object
Instance Method Details
#badges(options = {}) ⇒ Object
4 5 6 |
# File 'lib/ruby-stackoverflow/client/badges_helper.rb', line 4 def badges( = {}) badges_response() end |
#badges_between_dates(options = {}) ⇒ Object
23 24 25 26 |
# File 'lib/ruby-stackoverflow/client/badges_helper.rb', line 23 def badges_between_dates( = {}) url = "/recipients" badges_response(, url) end |
#badges_between_dates_by_ids(ids, options = {}) ⇒ Object
28 29 30 31 32 |
# File 'lib/ruby-stackoverflow/client/badges_helper.rb', line 28 def badges_between_dates_by_ids(ids, = {}) ids = join_ids(ids) url = ids + "/recipients" badges_response(, url) end |
#badges_by_ids(ids, options = {}) ⇒ Object
8 9 10 11 |
# File 'lib/ruby-stackoverflow/client/badges_helper.rb', line 8 def badges_by_ids(ids, = {}) url = join_ids(ids) badges_response(, url) end |
#badges_by_name(options = {}) ⇒ Object
18 19 20 21 |
# File 'lib/ruby-stackoverflow/client/badges_helper.rb', line 18 def badges_by_name( = {}) url = "/name" badges_response(, url) end |
#badges_by_tags(options = {}) ⇒ Object
34 35 36 37 |
# File 'lib/ruby-stackoverflow/client/badges_helper.rb', line 34 def ( = {}) url = "/tags" badges_response(, url) end |