Class: Xberg::ExtractInput
- Inherits:
-
Object
- Object
- Xberg::ExtractInput
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#bytes ⇒ String?
Returns the value of attribute bytes.
-
#config ⇒ FileExtractionConfig?
Returns the value of attribute config.
-
#filename ⇒ String?
Returns the value of attribute filename.
-
#kind ⇒ ExtractInputKind?
Returns the value of attribute kind.
-
#mime_type ⇒ String?
Returns the value of attribute mime_type.
-
#uri ⇒ String?
Returns the value of attribute uri.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ExtractInput
constructor
A new instance of ExtractInput.
Constructor Details
#initialize ⇒ ExtractInput
Returns a new instance of ExtractInput.
163 |
# File 'sig/types.rbs', line 163
def initialize: (?kind: ExtractInputKind, ?bytes: String, ?uri: String, ?mime_type: String, ?filename: String, ?config: FileExtractionConfig) -> void
|
Instance Attribute Details
#bytes ⇒ String?
Returns the value of attribute bytes.
157 158 159 |
# File 'sig/types.rbs', line 157 def bytes @bytes end |
#config ⇒ FileExtractionConfig?
Returns the value of attribute config.
161 162 163 |
# File 'sig/types.rbs', line 161 def config @config end |
#filename ⇒ String?
Returns the value of attribute filename.
160 161 162 |
# File 'sig/types.rbs', line 160 def filename @filename end |
#kind ⇒ ExtractInputKind?
Returns the value of attribute kind.
156 157 158 |
# File 'sig/types.rbs', line 156 def kind @kind end |
#mime_type ⇒ String?
Returns the value of attribute mime_type.
159 160 161 |
# File 'sig/types.rbs', line 159 def mime_type @mime_type end |
#uri ⇒ String?
Returns the value of attribute uri.
158 159 160 |
# File 'sig/types.rbs', line 158 def uri @uri end |
Class Method Details
.from_bytes ⇒ ExtractInput
165 |
# File 'sig/types.rbs', line 165
def self.from_bytes: (String bytes, String mime_type, ?String filename) -> ExtractInput
|
.from_uri ⇒ ExtractInput
166 |
# File 'sig/types.rbs', line 166
def self.from_uri: (String uri) -> ExtractInput
|