Class: Fizzy::Types::CardRef
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::CardRef
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id
249 250 251 |
# File 'lib/fizzy/generated/types.rb', line 249 def id @id end |
#url ⇒ Object (readonly)
Returns the value of attribute url
249 250 251 |
# File 'lib/fizzy/generated/types.rb', line 249 def url @url end |
Class Method Details
.from_json(data) ⇒ Object
251 252 253 254 255 256 |
# File 'lib/fizzy/generated/types.rb', line 251 def self.from_json(data) new( id: data["id"], url: data["url"] ) end |