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