Class: WavesRubyClient::OrderData::Place
- Inherits:
-
Object
- Object
- WavesRubyClient::OrderData::Place
- Includes:
- Conversion
- Defined in:
- lib/waves_ruby_client/order_data/place.rb
Overview
Data for placing an order
Instance Attribute Summary collapse
-
#order ⇒ Object
Returns the value of attribute order.
Instance Method Summary collapse
- #data_with_signature ⇒ Object
-
#initialize(order) ⇒ Place
constructor
A new instance of Place.
Methods included from Conversion::ClassMethods
#base58_to_bytes, #bytes_to_base58, #long_to_bytes
Constructor Details
#initialize(order) ⇒ Place
Returns a new instance of Place.
11 12 13 |
# File 'lib/waves_ruby_client/order_data/place.rb', line 11 def initialize(order) self.order = order end |
Instance Attribute Details
#order ⇒ Object
Returns the value of attribute order.
9 10 11 |
# File 'lib/waves_ruby_client/order_data/place.rb', line 9 def order @order end |
Instance Method Details
#data_with_signature ⇒ Object
15 16 17 |
# File 'lib/waves_ruby_client/order_data/place.rb', line 15 def data_with_signature data.merge(proofs: [signature]) end |