Class: Jbr::Mock::Quote

Inherits:
Quote show all
Defined in:
lib/jbr/mock/quote.rb

Constant Summary

Constants inherited from Quote

Quote::FIND

Instance Attribute Summary

Attributes inherited from Quote

#request_id

Attributes inherited from Resource

#id

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from Jbr::Resource

Instance Method Details

#find(_) ⇒ Object



3
4
5
6
7
8
# File 'lib/jbr/mock/quote.rb', line 3

def find(_)
  @id = Jbr.mock.quote[:id]
  @request_id = Jbr.mock.quote[:request_id]

  self
end