Sha256: 85ab1ba6191ced7a4ba7982912cb4c34006df80168ce4d20c1d684476c16fc7c

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

module Facebook
  class << self

    def supported?
      zuckermo.facebook_supported?
    end

    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

1 entries across 1 versions & 1 rubygems

Version Path
zuckermo-0.0.4 motion/facebook.rb