Class: Nfe::Generated::Nfeio::GuidPaginationCursor
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::Nfeio::GuidPaginationCursor
- Defined in:
- lib/nfe/generated/nfeio/guid_pagination_cursor.rb,
sig/nfe/generated/nfeio/guid_pagination_cursor.rbs
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ GuidPaginationCursor
constructor
A new instance of GuidPaginationCursor.
Constructor Details
#initialize ⇒ GuidPaginationCursor
Returns a new instance of GuidPaginationCursor.
11 |
# File 'sig/nfe/generated/nfeio/guid_pagination_cursor.rbs', line 11
def initialize: (?value: String) -> void
|
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value
9 10 11 |
# File 'lib/nfe/generated/nfeio/guid_pagination_cursor.rb', line 9 def value @value end |
Class Method Details
.from_api(payload) ⇒ instance?
10 11 12 13 14 15 16 |
# File 'lib/nfe/generated/nfeio/guid_pagination_cursor.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( value: payload["value"], ) end |
.new ⇒ instance
10 |
# File 'sig/nfe/generated/nfeio/guid_pagination_cursor.rbs', line 10
def self.new: (?value: String) -> instance
|