Module: Access

Defined in:
lib/access.rb,
lib/access/amt.rb,
lib/access/api.rb,
lib/access/info.rb,
lib/access/link.rb,
lib/access/spot.rb,
lib/access/user.rb,
lib/access/error.rb,
lib/access/hotel.rb,
lib/access/offer.rb,
lib/access/store.rb,
lib/access/token.rb,
lib/access/config.rb,
lib/access/device.rb,
lib/access/filter.rb,
lib/access/member.rb,
lib/access/redeem.rb,
lib/access/report.rb,
lib/access/verify.rb,
lib/access/channel.rb,
lib/access/product.rb,
lib/access/program.rb,
lib/access/request.rb,
lib/access/version.rb,
lib/access/campaign.rb,
lib/access/category.rb,
lib/access/favorite.rb,
lib/access/location.rb,
lib/access/response.rb,
lib/access/much_meta.rb,
lib/access/redemption.rb,
lib/access/geolocation.rb,
lib/access/aggregations.rb,
lib/access/autocomplete.rb,
lib/access/city_savings.rb,
lib/access/organization.rb,
lib/access/product_group.rb,
lib/access/shopping_cart.rb,
lib/access/oauth_application.rb

Defined Under Namespace

Modules: MuchMeta Classes: Aggregations, Amt, AmtResponse, Api, Autocomplete, AutocompleteResponse, Campaign, CampaignResponse, Category, CategoryResponse, Channel, ChannelResponse, CitySavings, CitySavingsResponse, Config, Device, DeviceResponse, Error, Favorite, FavoriteResponse, Filter, FilterResponse, Geolocation, GeolocationResponse, Hotel, HotelResponse, Info, Link, Location, LocationResponse, Member, MemberResponse, OauthApplication, OauthApplicationResponse, Offer, OfferResponse, Organization, Product, ProductGroup, ProductGroupResponse, Program, ProgramResponse, Redeem, RedeemResponse, Redemption, RedemptionResponse, Report, ReportResponse, Request, Response, ShoppingCart, ShoppingCartResponse, Spot, SpotResponse, Store, StoreResponse, Token, TokenResponse, User, UserResponse, Verify, VerifyResponse

Constant Summary collapse

VERSION =
"2.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



3
4
5
# File 'lib/access/config.rb', line 3

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Set options via block

Yields:



11
12
13
# File 'lib/access/config.rb', line 11

def self.configure
  yield(config) if block_given?
end