Class: Travis::Request

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

#branch_nameObject



1841
1842
1843
# File 'lib/travis/client/generated.rb', line 1841

def branch_name
  # This is a placeholder.
end

#branch_name?Boolean

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

Returns:

  • (Boolean)


1846
1847
1848
# File 'lib/travis/client/generated.rb', line 1846

def branch_name?
  # This is a placeholder.
end

#commitObject

The commit the request is associated with.



1827
1828
1829
# File 'lib/travis/client/generated.rb', line 1827

def commit
  # This is a placeholder.
end

#commit?Boolean

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

Returns:

  • (Boolean)


1832
1833
1834
# File 'lib/travis/client/generated.rb', line 1832

def commit?
  # This is a placeholder.
end

#created_atObject

When Travis CI created the request.



1792
1793
1794
# File 'lib/travis/client/generated.rb', line 1792

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)


1812
1813
1814
# File 'lib/travis/client/generated.rb', line 1812

def created_at?
  # This is a placeholder.
end

#event_typeObject

Origin of request (push, pull request, api)



1817
1818
1819
# File 'lib/travis/client/generated.rb', line 1817

def event_type
  # This is a placeholder.
end

#event_type?Boolean

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

Returns:

  • (Boolean)


1822
1823
1824
# File 'lib/travis/client/generated.rb', line 1822

def event_type?
  # This is a placeholder.
end

#idObject

Value uniquely identifying the request.



1782
1783
1784
# File 'lib/travis/client/generated.rb', line 1782

def id
  # This is a placeholder.
end

#id?Boolean

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

Returns:

  • (Boolean)


1797
1798
1799
# File 'lib/travis/client/generated.rb', line 1797

def id?
  # This is a placeholder.
end

#messageObject

Travis-ci status message attached to the request.



1767
1768
1769
# File 'lib/travis/client/generated.rb', line 1767

def message
  # This is a placeholder.
end

#message?Boolean

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

Returns:

  • (Boolean)


1807
1808
1809
# File 'lib/travis/client/generated.rb', line 1807

def message?
  # This is a placeholder.
end

#ownerObject

GitHub user or organization the request belongs to.



1777
1778
1779
# File 'lib/travis/client/generated.rb', line 1777

def owner
  # This is a placeholder.
end

#owner?Boolean

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

Returns:

  • (Boolean)


1837
1838
1839
# File 'lib/travis/client/generated.rb', line 1837

def owner?
  # This is a placeholder.
end

#repositoryObject

GitHub user or organization the request belongs to.



1787
1788
1789
# File 'lib/travis/client/generated.rb', line 1787

def repository
  # This is a placeholder.
end

#repository?Boolean

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

Returns:

  • (Boolean)


1802
1803
1804
# File 'lib/travis/client/generated.rb', line 1802

def repository?
  # This is a placeholder.
end

#resultObject

The result returned after running the build (eg, passed, failed, canceled, etc)



1772
1773
1774
# File 'lib/travis/client/generated.rb', line 1772

def result
  # This is a placeholder.
end

#result?Boolean

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

Returns:

  • (Boolean)


1851
1852
1853
# File 'lib/travis/client/generated.rb', line 1851

def result?
  # This is a placeholder.
end