mos-sdk 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mos-sdk.rb +4 -4
  3. data/lib/mos-sdk/base.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 428f05b30643c7b4a19bd82f0e53b3de34230793
4
- data.tar.gz: c2dbd68bcecfba4e7e77817be61eedd8359d8a31
3
+ metadata.gz: 455d1131325499109ae500a832783420c65cb5e3
4
+ data.tar.gz: f54ef15c9b4fd39a55aa1933cde9d0117a9ce55c
5
5
  SHA512:
6
- metadata.gz: 9e10d6e04e4a5f16c04e83078384a67b31b704b5497833782a41dbc6380fecf0ae6f569faf84f9fd55a470e38710e6b8ff9ad69af1119cd373c8453af2e98f2e
7
- data.tar.gz: bc45d3c96e2868400f8c091da0b0140c947cbcadbd1f929b0e2acf3cf029a12e65a6795e46c0bda063a5032a544ad4031de7ca4694889e282a01a168556786d4
6
+ metadata.gz: 6be66b8c213a809dadab92a00e8efdfc5c988a6c773d582a8f2be4eb7032007b2bf42502510ae433a216613ed185a0f51a294b188ebd8524d50645fe2f7430fd
7
+ data.tar.gz: b4c6d0405b982f9fb1b0c5c02b9a622ca25a0c1b6c8adfdd32f2687994fc15a9756cfb474adf2ee90a3156093f6dfd623e1c1f5330d64f0c1a23c90689944502
@@ -2,13 +2,13 @@
2
2
  $:.unshift File.join(File.dirname(__FILE__), '.', 'mos-sdk')
3
3
  require 'base.rb'
4
4
 
5
- module Mos
6
- class Client < Mos::Base
5
+ module MOS
6
+ class Client < MOS::Base
7
7
  end
8
8
  end
9
9
 
10
10
  # 基类函数为Base,mos-sdk的实现类
11
- class Mos::Client
11
+ class MOS::Client
12
12
  # 构造函数
13
13
  def initialize(access, secret, url, format='xml', timeout=300, debug=false)
14
14
  super(access, secret, url, format, timeout, debug)
@@ -312,4 +312,4 @@ class Mos::Client
312
312
  kwargs['TemplateId'] = tid
313
313
  self.request('DeleteTemplate', *kwargs)
314
314
  end
315
- end
315
+ end
@@ -8,12 +8,12 @@ require "rubygems"
8
8
  require "crack"
9
9
  require "erb"
10
10
  include ERB::Util
11
- module Mos
11
+ module MOS
12
12
  class Base
13
13
  end
14
14
  end
15
15
 
16
- class Mos::Base
16
+ class MOS::Base
17
17
  attr_accessor :access, :secret, :url, :format, :timeout, :debug
18
18
 
19
19
  # 基类初始化函数
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mos-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - yangcs2009