class AuthLh::ExternalApp

Attributes

description[RW]
is_local[RW]
name[RW]
url[RW]

Public Class Methods

new(attributes={}) click to toggle source
# File lib/auth_lh/external_app.rb, line 5
def initialize(attributes={})
  attributes.each do |k,v|
    self.send("#{k}=", v)
  end
end

Public Instance Methods

local_description(current_shop_code) click to toggle source
# File lib/auth_lh/external_app.rb, line 11
def local_description(current_shop_code)
  description % { shop_code: current_shop_code }
end
local_url(current_shop_code) click to toggle source
# File lib/auth_lh/external_app.rb, line 15
def local_url(current_shop_code)
  url % { shop_code: current_shop_code }
end