class Trello::Notification

@!attribute [r] id

@return [String]

@!attribute [rw] unread

@return [Boolean]

@!attribute [r] type

@return [Object]

@!attribute [r] date

@return [Datetime]

@!attribute [rw] data

@return [Object]

@!attribute [r] creator_id

@return [String]

@!attribute [r] creator_app

@return [String]

@!attribute [r] action_id

@return [String]

@!attribute [r] is_reactable

@return [Boolean]

@!attribute [r] read_at

@return [Datetime]

@!attribute [r] reactions

@return [Array]

Public Instance Methods

board() click to toggle source
# File lib/trello/notification.rb, line 48
def board
  Board.from_response client.get("/notifications/#{id}/board")
end
card() click to toggle source
# File lib/trello/notification.rb, line 56
def card
  Card.from_response client.get("/notifications/#{id}/card")
end
list() click to toggle source
# File lib/trello/notification.rb, line 52
def list
  List.from_response client.get("/notifications/#{id}/list")
end
member() click to toggle source
# File lib/trello/notification.rb, line 60
def member
  Member.from_response client.get("/notifications/#{id}/member")
end
organization() click to toggle source
# File lib/trello/notification.rb, line 64
def organization
  Organization.from_response client.get("/notifications/#{id}/organization")
end