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.
188 |
# File 'sig/types.rbs', line 188
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.
182 183 184 |
# File 'sig/types.rbs', line 182 def bytes @bytes end |
#config ⇒ FileExtractionConfig?
Returns the value of attribute config.
186 187 188 |
# File 'sig/types.rbs', line 186 def config @config end |
#filename ⇒ String?
Returns the value of attribute filename.
185 186 187 |
# File 'sig/types.rbs', line 185 def filename @filename end |
#kind ⇒ ExtractInputKind?
Returns the value of attribute kind.
181 182 183 |
# File 'sig/types.rbs', line 181 def kind @kind end |
#mime_type ⇒ String?
Returns the value of attribute mime_type.
184 185 186 |
# File 'sig/types.rbs', line 184 def mime_type @mime_type end |
#uri ⇒ String?
Returns the value of attribute uri.
183 184 185 |
# File 'sig/types.rbs', line 183 def uri @uri end |
Class Method Details
.from_bytes ⇒ ExtractInput
190 |
# File 'sig/types.rbs', line 190
def self.from_bytes: (String bytes, String mime_type, ?String filename) -> ExtractInput
|
.from_uri ⇒ ExtractInput
191 |
# File 'sig/types.rbs', line 191
def self.from_uri: (String uri) -> ExtractInput
|