Class: Travis::Request
- Inherits:
-
Client::Entity
- Object
- Client::Entity
- Travis::Request
- Defined in:
- lib/travis/client/generated.rb
Instance Attribute Summary
Attributes inherited from Client::Entity
Instance Method Summary collapse
- #branch_name ⇒ Object
-
#branch_name? ⇒ Boolean
Wheather or not #branch_name returns a truthy value (anything but ‘nil` or `false`).
-
#commit ⇒ Object
The commit the request is associated with.
-
#commit? ⇒ Boolean
Wheather or not #commit returns a truthy value (anything but ‘nil` or `false`).
-
#created_at ⇒ Object
When Travis CI created the request.
-
#created_at? ⇒ Boolean
Wheather or not #created_at returns a truthy value (anything but ‘nil` or `false`).
-
#event_type ⇒ Object
Origin of request (push, pull request, api).
-
#event_type? ⇒ Boolean
Wheather or not #event_type returns a truthy value (anything but ‘nil` or `false`).
-
#id ⇒ Object
Value uniquely identifying the request.
-
#id? ⇒ Boolean
Wheather or not #id returns a truthy value (anything but ‘nil` or `false`).
-
#message ⇒ Object
Travis-ci status message attached to the request.
-
#message? ⇒ Boolean
Wheather or not #message returns a truthy value (anything but ‘nil` or `false`).
-
#owner ⇒ Object
GitHub user or organization the request belongs to.
-
#owner? ⇒ Boolean
Wheather or not #owner returns a truthy value (anything but ‘nil` or `false`).
-
#repository ⇒ Object
GitHub user or organization the request belongs to.
-
#repository? ⇒ Boolean
Wheather or not #repository returns a truthy value (anything but ‘nil` or `false`).
-
#result ⇒ Object
The result returned after running the build (eg, passed, failed, canceled, etc).
-
#result? ⇒ Boolean
Wheather or not #result returns a truthy value (anything but ‘nil` or `false`).
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_name ⇒ Object
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`).
1846 1847 1848 |
# File 'lib/travis/client/generated.rb', line 1846 def branch_name? # This is a placeholder. end |
#commit ⇒ Object
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`).
1832 1833 1834 |
# File 'lib/travis/client/generated.rb', line 1832 def commit? # This is a placeholder. end |
#created_at ⇒ Object
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`).
1812 1813 1814 |
# File 'lib/travis/client/generated.rb', line 1812 def created_at? # This is a placeholder. end |
#event_type ⇒ Object
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`).
1822 1823 1824 |
# File 'lib/travis/client/generated.rb', line 1822 def event_type? # This is a placeholder. end |
#id ⇒ Object
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`).
1797 1798 1799 |
# File 'lib/travis/client/generated.rb', line 1797 def id? # This is a placeholder. end |
#message ⇒ Object
Travis-ci status message attached to the request.
1767 1768 1769 |
# File 'lib/travis/client/generated.rb', line 1767 def # This is a placeholder. end |
#message? ⇒ Boolean
Wheather or not #message returns a truthy value (anything but ‘nil` or `false`).
1807 1808 1809 |
# File 'lib/travis/client/generated.rb', line 1807 def # This is a placeholder. end |
#owner ⇒ Object
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`).
1837 1838 1839 |
# File 'lib/travis/client/generated.rb', line 1837 def owner? # This is a placeholder. end |
#repository ⇒ Object
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`).
1802 1803 1804 |
# File 'lib/travis/client/generated.rb', line 1802 def repository? # This is a placeholder. end |
#result ⇒ Object
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`).
1851 1852 1853 |
# File 'lib/travis/client/generated.rb', line 1851 def result? # This is a placeholder. end |