class Facebooker::Rails::Publisher::ImageHolder

work around the fact that facebook cares about the order of the keys in the hash

Attributes

href[RW]
src[RW]

Public Instance Methods

==(other) click to toggle source
# File lib/facebooker/rails/publisher.rb, line 364
def ==(other)
  self.src == other.src && self.href == other.href
end
to_json(*args) click to toggle source
# File lib/facebooker/rails/publisher.rb, line 368
def to_json(*args)
  "{\"src\":#{src.to_json}, \"href\":#{href.to_json}}"
end

Public Class Methods

new(src,href) click to toggle source
# File lib/facebooker/rails/publisher.rb, line 359
def initialize(src,href)
  self.src=src
  self.href=href
end