Class: Fizzy::Types::Webhook
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::Webhook
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
readonly
Returns the value of attribute active.
-
#board ⇒ Object
readonly
Returns the value of attribute board.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#payload_url ⇒ Object
readonly
Returns the value of attribute payload_url.
-
#signing_secret ⇒ Object
readonly
Returns the value of attribute signing_secret.
-
#subscribed_actions ⇒ Object
readonly
Returns the value of attribute subscribed_actions.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Attribute Details
#active ⇒ Object (readonly)
Returns the value of attribute active
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def active @active end |
#board ⇒ Object (readonly)
Returns the value of attribute board
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def board @board end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def created_at @created_at end |
#id ⇒ Object (readonly)
Returns the value of attribute id
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def name @name end |
#payload_url ⇒ Object (readonly)
Returns the value of attribute payload_url
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def payload_url @payload_url end |
#signing_secret ⇒ Object (readonly)
Returns the value of attribute signing_secret
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def signing_secret @signing_secret end |
#subscribed_actions ⇒ Object (readonly)
Returns the value of attribute subscribed_actions
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def subscribed_actions @subscribed_actions end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def updated_at @updated_at end |
#url ⇒ Object (readonly)
Returns the value of attribute url
1122 1123 1124 |
# File 'lib/fizzy/generated/types.rb', line 1122 def url @url end |
Class Method Details
.from_json(data) ⇒ Object
1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 |
# File 'lib/fizzy/generated/types.rb', line 1124 def self.from_json(data) new( id: data["id"], name: data["name"], payload_url: data["payload_url"], url: data["url"], subscribed_actions: data["subscribed_actions"], signing_secret: data["signing_secret"], active: data["active"], created_at: data["created_at"], updated_at: data["updated_at"], board: data["board"] ) end |