Class: Unresponsys::List

Inherits:
Object show all
Defined in:
lib/unresponsys/list.rb

Defined Under Namespace

Classes: Members

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, name) ⇒ List

Returns a new instance of List.



5
6
7
8
# File 'lib/unresponsys/list.rb', line 5

def initialize(client, name)
  @client = client
  @name   = name
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



3
4
5
# File 'lib/unresponsys/list.rb', line 3

def client
  @client
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/unresponsys/list.rb', line 3

def name
  @name
end

Instance Method Details

#membersObject



10
11
12
# File 'lib/unresponsys/list.rb', line 10

def members
  @members ||= Members.new(self)
end