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.4"
- @@bucket_name =
nil
- @@operator_name =
nil
- @@operator_password =
nil
- @@api_server =
"http://purge.upyun.com/purge/"
Class Method Summary collapse
- .new(hash = {}) ⇒ Object
-
.setup {|_self| ... } ⇒ Object
setup upyun base info.
Methods included from BaseExtend
define_attribute, random_number, random_string
Class Method Details
.new(hash = {}) ⇒ Object
33 34 35 |
# File 'lib/upyun/purge.rb', line 33 def self.new( hash = {} ) Client.new( hash ) end |
.setup {|_self| ... } ⇒ Object
setup upyun base info
27 28 29 |
# File 'lib/upyun/purge.rb', line 27 def self.setup yield self end |