Method: Invoiced::List#initialize

Defined in:
lib/invoiced/list.rb

#initialize(link_header, total_count) ⇒ List

Returns a new instance of List.



6
7
8
9
# File 'lib/invoiced/list.rb', line 6

def initialize(link_header, total_count)
    @links = parse_link_header(link_header)
    @total_count = total_count
end