Class: Travis::Broadcast

Inherits:
Client::Entity show all
Defined in:
lib/travis/client/generated.rb

Instance Attribute Summary

Attributes inherited from Client::Entity

#session

Instance Method Summary collapse

Methods inherited from Client::Entity

#[], add_action, add_attribute, add_related_action, for_session, #initialize, #inspect, #merge!, #permission?, #to_entity, #to_h

Constructor Details

This class inherits a constructor from Travis::Client::Entity

Instance Method Details

#activeObject

Whether or not the brodacast should still be displayed.



290
291
292
# File 'lib/travis/client/generated.rb', line 290

def active
  # This is a placeholder.
end

#active?Boolean

Wheather or not #active returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


300
301
302
# File 'lib/travis/client/generated.rb', line 300

def active?
  # This is a placeholder.
end

#categoryObject

Broadcast category (used for icon and color)



325
326
327
# File 'lib/travis/client/generated.rb', line 325

def category
  # This is a placeholder.
end

#category?Boolean

Wheather or not #category returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


330
331
332
# File 'lib/travis/client/generated.rb', line 330

def category?
  # This is a placeholder.
end

#created_atObject

When the broadcast was created.



305
306
307
# File 'lib/travis/client/generated.rb', line 305

def created_at
  # This is a placeholder.
end

#created_at?Boolean

Wheather or not #created_at returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


320
321
322
# File 'lib/travis/client/generated.rb', line 320

def created_at?
  # This is a placeholder.
end

#idObject

Value uniquely identifying the broadcast.



295
296
297
# File 'lib/travis/client/generated.rb', line 295

def id
  # This is a placeholder.
end

#id?Boolean

Wheather or not #id returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


310
311
312
# File 'lib/travis/client/generated.rb', line 310

def id?
  # This is a placeholder.
end

#messageObject

Message to display to the user.



285
286
287
# File 'lib/travis/client/generated.rb', line 285

def message
  # This is a placeholder.
end

#message?Boolean

Wheather or not #message returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


315
316
317
# File 'lib/travis/client/generated.rb', line 315

def message?
  # This is a placeholder.
end

#recipientObject

Either a user, organization or repository, or null for global.



335
336
337
# File 'lib/travis/client/generated.rb', line 335

def recipient
  # This is a placeholder.
end

#recipient?Boolean

Wheather or not #recipient returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


340
341
342
# File 'lib/travis/client/generated.rb', line 340

def recipient?
  # This is a placeholder.
end