Module: Rallio

Defined in:
lib/rallio.rb,
lib/rallio/base.rb,
lib/rallio/user.rb,
lib/rallio/review.rb,
lib/rallio/account.rb,
lib/rallio/version.rb,
lib/rallio/franchisor.rb,
lib/rallio/access_token.rb,
lib/rallio/sign_on_token.rb,
lib/rallio/ownerships_base.rb,
lib/rallio/account_ownership.rb,
lib/rallio/franchisor_ownership.rb

Defined Under Namespace

Classes: AccessToken, Account, AccountOwnership, Base, Franchisor, FranchisorOwnership, OwnershipsBase, Review, SignOnToken, User

Constant Summary collapse

VERSION =
"0.5.0"

Class Method Summary collapse

Class Method Details

.application_idString?

Retreives application id token.

Returns:

  • (String, nil)

    the application id or nil


19
20
21
# File 'lib/rallio.rb', line 19

def self.application_id
  @application_id
end

.application_id=(value) ⇒ String

Sets the oauth application id received from Rallio.

Parameters:

  • value (String)

    the oauth application id token

Returns:

  • (String)

    value


12
13
14
# File 'lib/rallio.rb', line 12

def self.application_id=(value)
  @application_id = value
end

.application_secretString?

Retreives application secret token.

Returns:

  • (String, nil)

    the application secret or nil


34
35
36
# File 'lib/rallio.rb', line 34

def self.application_secret
  @application_secret
end

.application_secret=(value) ⇒ String

Sets the oauth application secret received from Rallio.

Parameters:

  • value (String)

    the oauth application secret token

Returns:

  • (String)

    value


27
28
29
# File 'lib/rallio.rb', line 27

def self.application_secret=(value)
  @application_secret = value
end