Class: Travis::Resource

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

#access_rightsObject



71
72
73
# File 'lib/travis/client/generated.rb', line 71

def access_rights
  # This is a placeholder.
end

#access_rights?Boolean

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

Returns:

  • (Boolean)


76
77
78
# File 'lib/travis/client/generated.rb', line 76

def access_rights?
  # This is a placeholder.
end

#actionsObject



43
44
45
# File 'lib/travis/client/generated.rb', line 43

def actions
  # This is a placeholder.
end

#actions?Boolean

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

Returns:

  • (Boolean)


48
49
50
# File 'lib/travis/client/generated.rb', line 48

def actions?
  # This is a placeholder.
end

#attributesObject



35
36
37
# File 'lib/travis/client/generated.rb', line 35

def attributes
  # This is a placeholder.
end

#attributes?Boolean

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

Returns:

  • (Boolean)


53
54
55
# File 'lib/travis/client/generated.rb', line 53

def attributes?
  # This is a placeholder.
end

#permissionsObject



39
40
41
# File 'lib/travis/client/generated.rb', line 39

def permissions
  # This is a placeholder.
end

#permissions?Boolean

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

Returns:

  • (Boolean)


67
68
69
# File 'lib/travis/client/generated.rb', line 67

def permissions?
  # This is a placeholder.
end

#representationsObject



57
58
59
# File 'lib/travis/client/generated.rb', line 57

def representations
  # This is a placeholder.
end

#representations?Boolean

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

Returns:

  • (Boolean)


62
63
64
# File 'lib/travis/client/generated.rb', line 62

def representations?
  # This is a placeholder.
end