Class: Peddler::APIs::Support20250201::Attachment

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/support_2025_02_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#download_url ⇒ String? (readonly)

Returns the value of attribute download_url.

Returns:

  • (String, nil)


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.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:

  • ({ 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? }