booker_api 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/booker/customer_rest.rb +6 -0
- data/lib/booker/version.rb +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 5c3111e8fc5291f11bc4e800764a51c897495ba1
         | 
| 4 | 
            +
              data.tar.gz: 12f62938106228eb4d30600a87504b2575aeb864
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: cbaaade7107d7d90d128f0ea7daf2cfd0f1fd0459b536d1a60173c5d7df8b7998b107828287414de281a93f641a63acfc7b7ab29176ea7b6df6dc7a998be959e
         | 
| 7 | 
            +
              data.tar.gz: c29fec4dd718bc44041316876702efafde98ddf435af64310ab64cdea82d5b2f1052662e0380ccf6aa1076a7f0cfd3c0770cec85b2d67775726b51b3ad905b57
         | 
    
        data/lib/booker/customer_rest.rb
    CHANGED
    
    | @@ -165,5 +165,11 @@ module Booker | |
| 165 165 | 
             
                    'Password' => password
         | 
| 166 166 | 
             
                  }, options)
         | 
| 167 167 | 
             
                end
         | 
| 168 | 
            +
             | 
| 169 | 
            +
                def get_special_by_code(booker_location_id, coupon_code, options: {})
         | 
| 170 | 
            +
                  get "/special/location/#{booker_location_id}", build_params({
         | 
| 171 | 
            +
                    'CouponCode' => coupon_code
         | 
| 172 | 
            +
                  }, options)
         | 
| 173 | 
            +
                end
         | 
| 168 174 | 
             
              end
         | 
| 169 175 | 
             
            end
         | 
    
        data/lib/booker/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: booker_api
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.4
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - AbeCole
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2016-11- | 
| 11 | 
            +
            date: 2016-11-21 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: httparty
         |