Class: Troo::Remote::Persistence::List

Inherits:
Object
  • Object
show all
Defined in:
lib/troo/remote/persistence/list.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(external_board_id, name) ⇒ Object

Returns [].

Parameters:

  • (String)
  • (String)


17
18
19
20
# File 'lib/troo/remote/persistence/list.rb', line 17

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

Class Method Details

.with(external_board_id, name) ⇒ Object

Returns [].

Parameters:

  • (String)
  • (String)

Returns:



9
10
11
# File 'lib/troo/remote/persistence/list.rb', line 9

def with(external_board_id, name)
  new(external_board_id, name).perform
end

Instance Method Details

#performObject

Returns [].

Returns:



23
24
25
# File 'lib/troo/remote/persistence/list.rb', line 23

def perform
  create_local
end