class Flash::Integration::Request
Attributes
body[R]
headers[R]
method[R]
params[R]
time[R]
url[R]
Public Class Methods
new(attributes)
click to toggle source
# File lib/flash/integration/request.rb, line 8 def initialize(attributes) @method = attributes.fetch(:method) @url = attributes.fetch(:url) @params = attributes[:params] || {} @headers = attributes[:headers] || {} @body = attributes[:body] || {} @time = attributes[:time] || Time.now.utc end