Method: Atom::Collection#initialize

Defined in:
lib/atom/collection.rb

#initialize(href = nil, http = Atom::HTTP.new) ⇒ Collection

Returns a new instance of Collection.



70
71
72
73
74
75
76
77
78
# File 'lib/atom/collection.rb', line 70

def initialize(href = nil, http = Atom::HTTP.new)
  super()

  @http = http

  if href
    self.href = href
  end
end