Class: SnapAPIClient::Resources::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/snap_api_client/resources/base.rb

Direct Known Subclasses

Card, Effort, Project, PullRequest

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transport) ⇒ Base

Returns a new instance of Base.



8
9
10
# File 'lib/snap_api_client/resources/base.rb', line 8

def initialize(transport)
  @transport = transport
end

Instance Attribute Details

#transportObject (readonly)

Returns the value of attribute transport.



6
7
8
# File 'lib/snap_api_client/resources/base.rb', line 6

def transport
  @transport
end