Class: Travis::Commit

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

Instance Attribute Summary

Attributes inherited from Travis::Client::Entity

#session

Instance Method Summary collapse

Methods inherited from Travis::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

#authorObject

Committer data.



577
578
579
# File 'lib/travis/client/generated.rb', line 577

def author
  # This is a placeholder.
end

#author?Boolean

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

Returns:

  • (Boolean)


647
648
649
# File 'lib/travis/client/generated.rb', line 647

def author?
  # This is a placeholder.
end

#committed_atObject

Commit date from git.



627
628
629
# File 'lib/travis/client/generated.rb', line 627

def committed_at
  # This is a placeholder.
end

#committed_at?Boolean

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

Returns:

  • (Boolean)


632
633
634
# File 'lib/travis/client/generated.rb', line 632

def committed_at?
  # This is a placeholder.
end

#committerObject

Committer data.



637
638
639
# File 'lib/travis/client/generated.rb', line 637

def committer
  # This is a placeholder.
end

#committer?Boolean

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

Returns:

  • (Boolean)


642
643
644
# File 'lib/travis/client/generated.rb', line 642

def committer?
  # This is a placeholder.
end

#compare_urlObject

URL to the commit’s diff on GitHub.



617
618
619
# File 'lib/travis/client/generated.rb', line 617

def compare_url
  # This is a placeholder.
end

#compare_url?Boolean

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

Returns:

  • (Boolean)


622
623
624
# File 'lib/travis/client/generated.rb', line 622

def compare_url?
  # This is a placeholder.
end

#idObject

Value uniquely identifying the commit.



582
583
584
# File 'lib/travis/client/generated.rb', line 582

def id
  # This is a placeholder.
end

#id?Boolean

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

Returns:

  • (Boolean)


592
593
594
# File 'lib/travis/client/generated.rb', line 592

def id?
  # This is a placeholder.
end

#messageObject

Commit mesage.



572
573
574
# File 'lib/travis/client/generated.rb', line 572

def message
  # This is a placeholder.
end

#message?Boolean

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

Returns:

  • (Boolean)


597
598
599
# File 'lib/travis/client/generated.rb', line 597

def message?
  # This is a placeholder.
end

#refObject

Named reference the commit has in git.



587
588
589
# File 'lib/travis/client/generated.rb', line 587

def ref
  # This is a placeholder.
end

#ref?Boolean

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

Returns:

  • (Boolean)


612
613
614
# File 'lib/travis/client/generated.rb', line 612

def ref?
  # This is a placeholder.
end

#shaObject

Checksum the commit has in git and is identified by.



602
603
604
# File 'lib/travis/client/generated.rb', line 602

def sha
  # This is a placeholder.
end

#sha?Boolean

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

Returns:

  • (Boolean)


607
608
609
# File 'lib/travis/client/generated.rb', line 607

def sha?
  # This is a placeholder.
end