Class: Fizzy::Types::Activity
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::Activity
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#board ⇒ Object
readonly
Returns the value of attribute board.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#creator ⇒ Object
readonly
Returns the value of attribute creator.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#eventable ⇒ Object
readonly
Returns the value of attribute eventable.
-
#eventable_type ⇒ Object
readonly
Returns the value of attribute eventable_type.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#particulars ⇒ Object
readonly
Returns the value of attribute particulars.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def action @action end |
#board ⇒ Object (readonly)
Returns the value of attribute board
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def board @board end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def created_at @created_at end |
#creator ⇒ Object (readonly)
Returns the value of attribute creator
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def creator @creator end |
#description ⇒ Object (readonly)
Returns the value of attribute description
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def description @description end |
#eventable ⇒ Object (readonly)
Returns the value of attribute eventable
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def eventable @eventable end |
#eventable_type ⇒ Object (readonly)
Returns the value of attribute eventable_type
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def eventable_type @eventable_type end |
#id ⇒ Object (readonly)
Returns the value of attribute id
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def id @id end |
#particulars ⇒ Object (readonly)
Returns the value of attribute particulars
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def particulars @particulars end |
#url ⇒ Object (readonly)
Returns the value of attribute url
67 68 69 |
# File 'lib/fizzy/generated/types.rb', line 67 def url @url end |
Class Method Details
.from_json(data) ⇒ Object
69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/fizzy/generated/types.rb', line 69 def self.from_json(data) new( id: data["id"], action: data["action"], created_at: data["created_at"], description: data["description"], particulars: data["particulars"], url: data["url"], eventable_type: data["eventable_type"], eventable: data["eventable"], board: data["board"], creator: data["creator"] ) end |