class Twimock::API::OAuth::Cancelled

Constants

VIEW_DIRECTORY
VIEW_FILE_NAME

Public Class Methods

view(oauth_token) click to toggle source
# File lib/twimock/api/oauth/cancelled.rb, line 10
def self.view(oauth_token)
  @oauth_token = oauth_token
  erb = ERB.new(File.read(filepath))
  erb.result(binding)
end

Private Class Methods

filepath() click to toggle source
# File lib/twimock/api/oauth/cancelled.rb, line 18
def self.filepath
  File.join(VIEW_DIRECTORY, VIEW_FILE_NAME)
end