Sha256: ba73bdc49f11d1688a532849cbaa0b72a754aa68e2dccc5295aea57598c0f7bd

Contents?: true

Size: 490 Bytes

Versions: 3

Compression:

Stored size: 490 Bytes

Contents

module Facebook
  class << self

    def app_id= id
      zuckermo.app_id = id
    end

    def account_store
      zuckermo.account_store
    end

    def account_type
      zuckermo.account_type
    end

    def accounts
      zuckermo.accounts
    end

    def sign_in permissions = ['email'], audience = nil,  &block
      zuckermo.sign_in permissions, audience, &block
    end

    private
      def zuckermo
        @zuckermo ||= Zuckermo::AccountStore.alloc.init
      end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zuckermo-0.0.3 motion/facebook.rb
zuckermo-0.0.2 motion/facebook.rb
zuckermo-0.0.1 motion/facebook.rb