Module: TeamcityRuby::Resource::InstanceMethods

Defined in:
lib/teamcity_ruby/resource.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



37
38
39
# File 'lib/teamcity_ruby/resource.rb', line 37

def ==(other)
  self.class == other.class && self.teamcity_id == other.teamcity_id
end

#clientObject



33
34
35
# File 'lib/teamcity_ruby/resource.rb', line 33

def client
  self.class.client
end