Class: Paymongo::Entities::Listing
- Inherits:
-
BaseEntity
- Object
- BaseEntity
- Paymongo::Entities::Listing
- Defined in:
- lib/paymongo/entities/listing.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#has_more ⇒ Object
readonly
Returns the value of attribute has_more.
Instance Method Summary collapse
-
#initialize(data:, has_more:) ⇒ Listing
constructor
A new instance of Listing.
Constructor Details
#initialize(data:, has_more:) ⇒ Listing
Returns a new instance of Listing.
7 8 9 10 |
# File 'lib/paymongo/entities/listing.rb', line 7 def initialize(data:, has_more:) @data = data @has_more = has_more end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/paymongo/entities/listing.rb', line 4 def data @data end |
#has_more ⇒ Object (readonly)
Returns the value of attribute has_more.
4 5 6 |
# File 'lib/paymongo/entities/listing.rb', line 4 def has_more @has_more end |