Module: CoverMyMeds::RequestPages
Constant Summary collapse
- CURRENT_VERSION =
1
Instance Method Summary collapse
Methods included from HostAndPath
Instance Method Details
#get_request_page(request_id, token_id, remote_user = {}, version = CURRENT_VERSION) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/cover_my_meds/client/request_pages.rb', line 7 def get_request_page request_id, token_id, remote_user = {}, version = CURRENT_VERSION params = { token_id: token_id, v: version , remote_user: remote_user } request_page = request_pages_request( GET, params: params, path: request_id, auth: :bearer ) Hashie::Mash.new(request_page["request_page"]) end |