Class: Peddler::APIs::Support20250201::Attachment
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Support20250201::Attachment
- Defined in:
- sig/peddler/apis/support_2025_02_01.rbs
Instance Attribute Summary collapse
-
#download_url ⇒ String?
readonly
Returns the value of attribute download_url.
-
#name ⇒ String
readonly
Returns the value of attribute name.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :name, :download_url ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Support20250201::Attachment
Instance Method Summary collapse
Instance Attribute Details
#download_url ⇒ String? (readonly)
Returns the value of attribute download_url.
34 35 36 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 34 def download_url @download_url end |
#name ⇒ String (readonly)
Returns the value of attribute name.
35 36 37 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 35 def name @name end |
Class Method Details
.[](name:, download_url:) ⇒ Peddler::APIs::Support20250201::Attachment .[](arg0, arg1) ⇒ Peddler::APIs::Support20250201::Attachment
27 28 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 27
def self.[]: (name: String, ?download_url: String?) -> Peddler::APIs::Support20250201::Attachment
| (String, String?) -> Peddler::APIs::Support20250201::Attachment
|
.members ⇒ [ :name, :download_url ]
30 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 30
def self.members: () -> [ :name, :download_url ]
|
.new(name:, download_url:) ⇒ Peddler::APIs::Support20250201::Attachment .new(arg0, arg1) ⇒ Peddler::APIs::Support20250201::Attachment
25 26 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 25
def self.new: (name: String, ?download_url: String?) -> Peddler::APIs::Support20250201::Attachment
| (String, String?) -> Peddler::APIs::Support20250201::Attachment
|
.parse ⇒ Peddler::APIs::Support20250201::Attachment
32 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 32
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Support20250201::Attachment
|
Instance Method Details
#members ⇒ [ :name, :download_url ]
37 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 37
def members: () -> [ :name, :download_url ]
|
#to_h ⇒ { name: String, download_url: String? }
38 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 38
def to_h: () -> { name: String, download_url: String? }
|