vendor/plugins/facebooker/lib/facebooker/rails/publisher.rb
#story sizes from the Facebooker API
story sizes from the Facebooker API
story sizes from the Facebooker API
def send_as(option)
        self._body=case option
        when :action
          Facebooker::Feed::Action.new
        when :story
          Facebooker::Feed::Story.new
        when :templatized_action
          Facebooker::Feed::TemplatizedAction.new
        when :notification
          Notification.new
        when :email
          Email.new
        when :profile
          Profile.new
        when :ref
          Ref.new
        when :user_action
          UserAction.new
        when :publish_stream
          StreamPost.new
        else
          raise UnknownBodyType.new("Unknown type to publish")
        end
      end
def send_as ( option ) self . _body = case option when :action Facebooker :: Feed :: Action . new when :story Facebooker :: Feed :: Story . new when :templatized_action Facebooker :: Feed :: TemplatizedAction . new when :notification Notification . new when :email Email . new when :profile Profile . new when :ref Ref . new when :user_action UserAction . new when :publish_stream StreamPost . new else raise UnknownBodyType . new ( "Unknown type to publish" ) end end
story sizes from the Facebooker API
story sizes from the Facebooker API
option
<not_specific>