class Marvel::Api::Request
Constants
- GET
Attributes
raw_args[R]
raw_options[R]
raw_path[R]
Public Class Methods
new(path:, args: {}, options: {})
click to toggle source
# File lib/marvel/api/request.rb, line 8 def initialize(path:, args: {}, options: {}) @raw_path = path @raw_args = args @raw_options = options end
Public Instance Methods
args()
click to toggle source
# File lib/marvel/api/request.rb, line 22 def args raw_args end
options()
click to toggle source
# File lib/marvel/api/request.rb, line 26 def options raw_options end
path()
click to toggle source
# File lib/marvel/api/request.rb, line 18 def path "/v1/public/#{raw_path}" end
server()
click to toggle source
# File lib/marvel/api/request.rb, line 30 def server Marvel::Api::DEFAULT_SERVER end
verb()
click to toggle source
# File lib/marvel/api/request.rb, line 14 def verb GET end