Module: Upyun::Purge
- Extended by:
- BaseExtend
- Defined in:
- lib/upyun/purge.rb,
lib/upyun/purge/client.rb,
lib/upyun/purge/version.rb,
lib/upyun/purge/base_extend.rb
Defined Under Namespace
Modules: BaseExtend Classes: Client
Constant Summary collapse
- VERSION =
"0.0.1"- @@bucket_name =
nil- @@operator_name =
nil- @@operator_password =
nil- @@api_server =
"http://purge.upyun.com/purge/"
Class Method Summary collapse
- .new ⇒ Object
-
.setup {|_self| ... } ⇒ Object
setup upyun base info.
Methods included from BaseExtend
define_attribute, random_number, random_string
Class Method Details
.new ⇒ Object
32 33 34 |
# File 'lib/upyun/purge.rb', line 32 def self.new Client.new end |
.setup {|_self| ... } ⇒ Object
setup upyun base info
26 27 28 |
# File 'lib/upyun/purge.rb', line 26 def self.setup yield self end |