module Brandspotter class Client def subscriptions get_request configure_payload('/subscriptions') end def find_subscription(id) get_request configure_payload("/subscriptions/#{id}") end def create_subscription(opts={}) opts.assert_valid_keys(:hashtag) post_request '/subscriptions', opts end def destroy_subscription(id) delete_request "/subscriptions/#{id}" end end end