class Rallio::FranchisorOwnership

Represents a franchisor ownership as it comes from Rallio.

@!attribute [rw] user_id

@return [Integer] unique id for user

@!attribute [rw] franchisor_id

@return [Integer] unique id for franchisor

@!attribute [rw] franchisor_name

@return [String] franchisor name

Public Class Methods

response_key() click to toggle source

Key used to extract response object from API response hash.

@return [String]

# File lib/rallio/franchisor_ownership.rb, line 25
def self.response_key
  'franchisor_ownership'
end
url_segment() click to toggle source

Url segment used by base class to build correct endpoint.

@return [String]

# File lib/rallio/franchisor_ownership.rb, line 18
def self.url_segment
  'franchisor_ownerships'
end