Class: Twimock::API::OAuth::Cancelled
- Inherits:
-
Object
- Object
- Twimock::API::OAuth::Cancelled
- Defined in:
- lib/twimock/api/oauth/cancelled.rb
Constant Summary collapse
- VIEW_DIRECTORY =
File.("../../../../../view", __FILE__)
- VIEW_FILE_NAME =
"oauth_cancelled.html.erb"
Class Method Summary collapse
Class Method Details
.view(oauth_token) ⇒ Object
10 11 12 13 14 |
# 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 |