Class: Peddler::APIs::ShippingV2::Geocode
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::Geocode
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#latitude ⇒ String?
readonly
Returns the value of attribute latitude.
-
#longitude ⇒ String?
readonly
Returns the value of attribute longitude.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :latitude, :longitude ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::Geocode
Instance Method Summary collapse
Instance Attribute Details
#latitude ⇒ String? (readonly)
Returns the value of attribute latitude.
735 736 737 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 735 def latitude @latitude end |
#longitude ⇒ String? (readonly)
Returns the value of attribute longitude.
736 737 738 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 736 def longitude @longitude end |
Class Method Details
.[](latitude:, longitude:) ⇒ Peddler::APIs::ShippingV2::Geocode .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::Geocode
728 729 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 728
def self.[]: (?latitude: String?, ?longitude: String?) -> Peddler::APIs::ShippingV2::Geocode
| (String?, String?) -> Peddler::APIs::ShippingV2::Geocode
|
.members ⇒ [ :latitude, :longitude ]
731 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 731
def self.members: () -> [ :latitude, :longitude ]
|
.new(latitude:, longitude:) ⇒ Peddler::APIs::ShippingV2::Geocode .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::Geocode
726 727 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 726
def self.new: (?latitude: String?, ?longitude: String?) -> Peddler::APIs::ShippingV2::Geocode
| (String?, String?) -> Peddler::APIs::ShippingV2::Geocode
|
.parse ⇒ Peddler::APIs::ShippingV2::Geocode
733 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 733
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::Geocode
|
Instance Method Details
#members ⇒ [ :latitude, :longitude ]
738 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 738
def members: () -> [ :latitude, :longitude ]
|
#to_h ⇒ { latitude: String?, longitude: String? }
739 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 739
def to_h: () -> { latitude: String?, longitude: String? }
|