Class: Peddler::APIs::SupplySources20200701::AddressWithContact
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::SupplySources20200701::AddressWithContact
- Defined in:
- sig/peddler/apis/supply_sources_2020_07_01.rbs
Instance Attribute Summary collapse
-
#address ⇒ Peddler::APIs::SupplySources20200701::Address?
readonly
Returns the value of attribute address.
-
#contact_details ⇒ Peddler::APIs::SupplySources20200701::ContactDetails?
readonly
Returns the value of attribute contact_details.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :address, :contact_details ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::SupplySources20200701::AddressWithContact
Instance Method Summary collapse
-
#members ⇒ [ :address, :contact_details ]
-
#to_h ⇒ { address: Peddler::APIs::SupplySources20200701::Address?, contact_details: Peddler::APIs::SupplySources20200701::ContactDetails? }
Instance Attribute Details
#address ⇒ Peddler::APIs::SupplySources20200701::Address? (readonly)
Returns the value of attribute address.
40 41 42 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 40 def address @address end |
#contact_details ⇒ Peddler::APIs::SupplySources20200701::ContactDetails? (readonly)
Returns the value of attribute contact_details.
41 42 43 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 41 def contact_details @contact_details end |
Class Method Details
.[](address:, contact_details:) ⇒ Peddler::APIs::SupplySources20200701::AddressWithContact .[](arg0, arg1) ⇒ Peddler::APIs::SupplySources20200701::AddressWithContact
33 34 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 33
def self.[]: (?address: Peddler::APIs::SupplySources20200701::Address?, ?contact_details: Peddler::APIs::SupplySources20200701::ContactDetails?) -> Peddler::APIs::SupplySources20200701::AddressWithContact
| (Peddler::APIs::SupplySources20200701::Address?, Peddler::APIs::SupplySources20200701::ContactDetails?) -> Peddler::APIs::SupplySources20200701::AddressWithContact
|
.members ⇒ [ :address, :contact_details ]
36 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 36
def self.members: () -> [ :address, :contact_details ]
|
.new(address:, contact_details:) ⇒ Peddler::APIs::SupplySources20200701::AddressWithContact .new(arg0, arg1) ⇒ Peddler::APIs::SupplySources20200701::AddressWithContact
31 32 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 31
def self.new: (?address: Peddler::APIs::SupplySources20200701::Address?, ?contact_details: Peddler::APIs::SupplySources20200701::ContactDetails?) -> Peddler::APIs::SupplySources20200701::AddressWithContact
| (Peddler::APIs::SupplySources20200701::Address?, Peddler::APIs::SupplySources20200701::ContactDetails?) -> Peddler::APIs::SupplySources20200701::AddressWithContact
|
.parse ⇒ Peddler::APIs::SupplySources20200701::AddressWithContact
38 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 38
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SupplySources20200701::AddressWithContact
|
Instance Method Details
#members ⇒ [ :address, :contact_details ]
43 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 43
def members: () -> [ :address, :contact_details ]
|
#to_h ⇒ { address: Peddler::APIs::SupplySources20200701::Address?, contact_details: Peddler::APIs::SupplySources20200701::ContactDetails? }
44 |
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 44
def to_h: () -> { address: Peddler::APIs::SupplySources20200701::Address?, contact_details: Peddler::APIs::SupplySources20200701::ContactDetails? }
|